package com.serverdemo.application.common;

import com.serverdemo.core.entity.SocketEntity;
import com.serverdemo.core.processor.AbstractProcessorMessage;

/**
 * 登录线程发送登录请求到场景线程
 * 请求进入场景
 * Created by wangqiang on 2020/4/11.
 */
public class LSEnterSceneRequest extends AbstractProcessorMessage
{
    private SocketEntity socketEntity;

    private String userName;

    private String data;

    public String getUserName()
    {
        return userName;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getData()
    {
        return data;
    }

    public void setData(String data)
    {
        this.data = data;
    }

    public void setSocketEntity(SocketEntity socketEntity)
    {
        this.socketEntity = socketEntity;
    }

    public SocketEntity getSocketEntity()
    {
        return socketEntity;
    }

    @Override
    public int getMessageID()
    {
        return MessageIDConst.LS_ENTER_SCENE_REQUEST;
    }
}